package com.yanqu.road.entity.config.thief;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_p_thief")
public class ThiefInfo {

    @FieldTypeAnnotation(desc = "小偷类型")
    private int type;

    @FieldTypeAnnotation(desc = "解锁所需建筑ID")
    private int unlockBuildingId;

    @FieldTypeAnnotation(desc = "打工店铺ID")
    private int workBuildingId;

    @FieldTypeAnnotation(desc = "打工持续时间（分钟）")
    private int workTime;

    @FieldTypeAnnotation(desc = "打工奖励")
    private String reward;

    @FieldTypeAnnotation(desc = "权重")
    private int weight;

    @FieldTypeAnnotation(desc = "可刷新位置")
    private List<Integer> placeIdList = new ArrayList<>();

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUnlockBuildingId() {
        return unlockBuildingId;
    }

    public void setUnlockBuildingId(int unlockBuildingId) {
        this.unlockBuildingId = unlockBuildingId;
    }

    public int getWorkBuildingId() {
        return workBuildingId;
    }

    public void setWorkBuildingId(int workBuildingId) {
        this.workBuildingId = workBuildingId;
    }

    public int getWorkTime() {
        return workTime;
    }

    public void setWorkTime(int workTime) {
        this.workTime = workTime;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public List<Integer> getPlaceIdList() {
        return placeIdList;
    }

    public void setPlaceIdList(List<Integer> placeIdList) {
        this.placeIdList = placeIdList;
    }
}
